{% extends 'base.html' %}

{% block  head %}
    <!-- bokeh js和css -->
    {{ js_resources|safe }}
    {{ css_resources|safe }}
{% endblock %}

{% block sidebar %}
    <ul class="nav nav-sidebar">
        <li class="active"><a href="{{ url_for('mpg') }}">bokeh_MPG <span class="sr-only">(current)</span></a></li>
        <li><a href="{{ url_for('vbar') }}">Vbar</a></li>
        <li><a href="#">Analytics</a></li>
        <li><a href="#">Export</a></li>
    </ul>
    <ul class="nav nav-sidebar">
        <li><a href="">Nav item</a></li>
        <li><a href="">Nav item again</a></li>
        <li><a href="">One more nav</a></li>
        <li><a href="">Another nav item</a></li>
        <li><a href="">More navigation</a></li>
    </ul>
    <ul class="nav nav-sidebar">
        <li><a href="">Nav item again</a></li>
        <li><a href="">One more nav</a></li>
        <li><a href="">Another nav item</a></li>
    </ul>
{% endblock %}

{% block plot %}
    <!--bokeh 内容 -->
    {{ plot_script|safe }}
    {{ plot_div|safe }}
{% endblock %}

